pub fn new_count_distinct(input_str: &str) -> usize {
    let distinct_strings: Vec<&str> = input_str.split(',').collect();
    let mut distinct: Vec<&str> = Vec::new();

    for s in &distinct_strings {
        if !distinct.contains(s) {
            distinct.push(*s);
        }
    }

    distinct.len()
}
